\hypertarget{os_8c}{
\section{/home/carminha/workspace/os-\/raphael-\/shanshan/trunk/os.c File Reference}
\label{os_8c}\index{/home/carminha/workspace/os-\/raphael-\/shanshan/trunk/os.c@{/home/carminha/workspace/os-\/raphael-\/shanshan/trunk/os.c}}
}
{\ttfamily \#include $<$sys/types.h$>$}\par
{\ttfamily \#include $<$sys/time.h$>$}\par
{\ttfamily \#include $<$stdio.h$>$}\par
{\ttfamily \#include $<$stdlib.h$>$}\par
{\ttfamily \#include $<$unistd.h$>$}\par
{\ttfamily \#include $<$string.h$>$}\par
{\ttfamily \#include $<$sys/select.h$>$}\par
{\ttfamily \#include \char`\"{}auxiliaire.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}types.h\char`\"{}}\par
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__frame__table__entry}{\_\-frame\_\-table\_\-entry}
\item 
struct \hyperlink{struct__frame__table}{\_\-frame\_\-table}
\item 
struct \hyperlink{struct__page__table__entry}{\_\-page\_\-table\_\-entry}
\begin{DoxyCompactList}\small\item\em LA TABLE DES PAGES,verifier si ce cadre est libre ou occupé. \item\end{DoxyCompactList}\item 
struct \hyperlink{struct__page__table}{\_\-page\_\-table}
\item 
struct \hyperlink{struct__processus__simple}{\_\-processus\_\-simple}
\item 
struct \hyperlink{struct__table__processus}{\_\-table\_\-processus}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{struct__frame__table__entry}{\_\-frame\_\-table\_\-entry} \hyperlink{os_8c_a199ec01943905f70f6398dcd42fe57f5}{Frame\_\-table\_\-entry}
\item 
typedef struct \hyperlink{struct__frame__table}{\_\-frame\_\-table} \hyperlink{os_8c_a9cca07750b61009ad9124ffb755f818e}{Frame\_\-table}
\item 
typedef struct \hyperlink{struct__page__table__entry}{\_\-page\_\-table\_\-entry} \hyperlink{os_8c_af50cfae920f95ee98143623156022d09}{Page\_\-table\_\-entry}
\begin{DoxyCompactList}\small\item\em LA TABLE DES PAGES,verifier si ce cadre est libre ou occupé. \item\end{DoxyCompactList}\item 
typedef struct \hyperlink{struct__page__table}{\_\-page\_\-table} \hyperlink{os_8c_a1664bf35c190839231fb8bd737f3819f}{Page\_\-table}
\item 
typedef struct \hyperlink{struct__processus__simple}{\_\-processus\_\-simple} \hyperlink{os_8c_a053b75109737bcba8c0a7d930bfa6962}{myPS}
\item 
typedef struct \hyperlink{struct__table__processus}{\_\-table\_\-processus} \hyperlink{os_8c_a306d17f5356880e9cf8348909d3839b0}{myTP}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{os_8c_ae7c01a83cfbd9463769a87ab765a82ab}{creation\_\-table\_\-cadre} (\hyperlink{struct__frame__table}{Frame\_\-table} $\ast$bitmap, int cadre\_\-max)
\begin{DoxyCompactList}\small\item\em creation la table des cadres void dialogue\_\-utilisteur( \_\-processus\_\-simple myPS); \item\end{DoxyCompactList}\item 
void \hyperlink{os_8c_a077890e8528ecbd6c9985d766e1e6d08}{creation\_\-table\_\-page} (\hyperlink{struct__page__table}{Page\_\-table} $\ast$page, int num\_\-proc, int page\_\-max)
\item 
void \hyperlink{os_8c_a85cac8a17dd4b6b7be0be041dc9b097e}{traiterDemande} (char $\ast$commande, int val1, int val2)
\item 
int \hyperlink{os_8c_a0ddf1224851353fc92bfbff6f499fa97}{main} (int argc, char $\ast$argv\mbox{[}$\,$\mbox{]})
\end{DoxyCompactItemize}


\subsection{Typedef Documentation}
\hypertarget{os_8c_a9cca07750b61009ad9124ffb755f818e}{
\index{os.c@{os.c}!Frame\_\-table@{Frame\_\-table}}
\index{Frame\_\-table@{Frame\_\-table}!os.c@{os.c}}
\subsubsection[{Frame\_\-table}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \_\-frame\_\-table}  {\bf Frame\_\-table}}}
\label{os_8c_a9cca07750b61009ad9124ffb755f818e}
\hypertarget{os_8c_a199ec01943905f70f6398dcd42fe57f5}{
\index{os.c@{os.c}!Frame\_\-table\_\-entry@{Frame\_\-table\_\-entry}}
\index{Frame\_\-table\_\-entry@{Frame\_\-table\_\-entry}!os.c@{os.c}}
\subsubsection[{Frame\_\-table\_\-entry}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \_\-frame\_\-table\_\-entry}  {\bf Frame\_\-table\_\-entry}}}
\label{os_8c_a199ec01943905f70f6398dcd42fe57f5}
\hypertarget{os_8c_a053b75109737bcba8c0a7d930bfa6962}{
\index{os.c@{os.c}!myPS@{myPS}}
\index{myPS@{myPS}!os.c@{os.c}}
\subsubsection[{myPS}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \_\-processus\_\-simple}  {\bf myPS}}}
\label{os_8c_a053b75109737bcba8c0a7d930bfa6962}
\hypertarget{os_8c_a306d17f5356880e9cf8348909d3839b0}{
\index{os.c@{os.c}!myTP@{myTP}}
\index{myTP@{myTP}!os.c@{os.c}}
\subsubsection[{myTP}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \_\-table\_\-processus}  {\bf myTP}}}
\label{os_8c_a306d17f5356880e9cf8348909d3839b0}
\hypertarget{os_8c_a1664bf35c190839231fb8bd737f3819f}{
\index{os.c@{os.c}!Page\_\-table@{Page\_\-table}}
\index{Page\_\-table@{Page\_\-table}!os.c@{os.c}}
\subsubsection[{Page\_\-table}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \_\-page\_\-table}  {\bf Page\_\-table}}}
\label{os_8c_a1664bf35c190839231fb8bd737f3819f}
\hypertarget{os_8c_af50cfae920f95ee98143623156022d09}{
\index{os.c@{os.c}!Page\_\-table\_\-entry@{Page\_\-table\_\-entry}}
\index{Page\_\-table\_\-entry@{Page\_\-table\_\-entry}!os.c@{os.c}}
\subsubsection[{Page\_\-table\_\-entry}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \_\-page\_\-table\_\-entry}  {\bf Page\_\-table\_\-entry}}}
\label{os_8c_af50cfae920f95ee98143623156022d09}


LA TABLE DES PAGES,verifier si ce cadre est libre ou occupé. 



\subsection{Function Documentation}
\hypertarget{os_8c_ae7c01a83cfbd9463769a87ab765a82ab}{
\index{os.c@{os.c}!creation\_\-table\_\-cadre@{creation\_\-table\_\-cadre}}
\index{creation\_\-table\_\-cadre@{creation\_\-table\_\-cadre}!os.c@{os.c}}
\subsubsection[{creation\_\-table\_\-cadre}]{\setlength{\rightskip}{0pt plus 5cm}void creation\_\-table\_\-cadre (
\begin{DoxyParamCaption}
\item[{{\bf Frame\_\-table} $\ast$}]{ bitmap, }
\item[{int}]{ cadre\_\-max}
\end{DoxyParamCaption}
)}}
\label{os_8c_ae7c01a83cfbd9463769a87ab765a82ab}


creation la table des cadres void dialogue\_\-utilisteur( \_\-processus\_\-simple myPS); 


\begin{DoxyParams}{Parameters}
\item[{\em $\ast$bitmap}]TODO faire la description \item[{\em cadre\_\-max}]le maximale de cadre \end{DoxyParams}
\hypertarget{os_8c_a077890e8528ecbd6c9985d766e1e6d08}{
\index{os.c@{os.c}!creation\_\-table\_\-page@{creation\_\-table\_\-page}}
\index{creation\_\-table\_\-page@{creation\_\-table\_\-page}!os.c@{os.c}}
\subsubsection[{creation\_\-table\_\-page}]{\setlength{\rightskip}{0pt plus 5cm}void creation\_\-table\_\-page (
\begin{DoxyParamCaption}
\item[{{\bf Page\_\-table} $\ast$}]{ page, }
\item[{int}]{ num\_\-proc, }
\item[{int}]{ page\_\-max}
\end{DoxyParamCaption}
)}}
\label{os_8c_a077890e8528ecbd6c9985d766e1e6d08}
\hypertarget{os_8c_a0ddf1224851353fc92bfbff6f499fa97}{
\index{os.c@{os.c}!main@{main}}
\index{main@{main}!os.c@{os.c}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (
\begin{DoxyParamCaption}
\item[{int}]{ argc, }
\item[{char $\ast$}]{ argv\mbox{[}$\,$\mbox{]}}
\end{DoxyParamCaption}
)}}
\label{os_8c_a0ddf1224851353fc92bfbff6f499fa97}
\hypertarget{os_8c_a85cac8a17dd4b6b7be0be041dc9b097e}{
\index{os.c@{os.c}!traiterDemande@{traiterDemande}}
\index{traiterDemande@{traiterDemande}!os.c@{os.c}}
\subsubsection[{traiterDemande}]{\setlength{\rightskip}{0pt plus 5cm}void traiterDemande (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{ commande, }
\item[{int}]{ val1, }
\item[{int}]{ val2}
\end{DoxyParamCaption}
)}}
\label{os_8c_a85cac8a17dd4b6b7be0be041dc9b097e}
